<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>LinkedChat招聘网</title>
    <link href="${pageContext.request.contextPath}/public/static/images/login_icon.ico" rel="shortcut icon">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/public/static/css/Headers.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/public/static/css/CVManagr.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/public/static/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/public/static/css/Footers.css">

    <script src="${pageContext.request.contextPath}/public/static/js/jquery-3.6.0.min.js"></script>
    <script src="${pageContext.request.contextPath}/public/static/layui/layui.js"></script>
</head>
<body>
<!-- 头部导航 -->
<div id="header"></div>
<script>
    $(function() {
        $('#header').load('${pageContext.request.contextPath}/public/Person/header.jsp');
    })
</script>

<!--=============简历===================-->
<div class="cv">
    <!--=============简历left===========-->
    <div class="cvLeft">
        <div class="leftNav">
            <span>
                   <label>简历目录</label>
                <ul class="navItem1">
                    <li><a href="#Tip1"> 个人信息</a></li>
                    <li><a href="#Tip2"> 个人优势</a></li>
                    <li><a href="#Tip3"> 期望职位</a></li>
                    <li><a href="#Tip4"> 实习经历</a></li>
                    <li><a href="#Tip5"> 项目经历</a></li>
                    <li><a href="#Tip6"> 教育经历</a></li>
                    <li><a href="#Tip7">资格证书 </a></li>
                </ul>
                <!-- <label>自定义添加</label>
                 <ul class="navTtem2">
                    <li><a href="">资格证书 </a></li>
                </ul> -->
            </span>

        </div>
    </div>
    <!--=========简历center============-->
    <div class="cvCenter">
        <div class="cenHeader">
            <strong>我的在线简历</strong>
            <span >
                <a  class="preLook" id="jjjhh">预览</a>
                <a class="insertCv">导入已有简历</a>
            </span>
            <%--            预览简历--%>
            <form class="preLookCv">
                预览简历
            </form>
        </div>

        <!-- =========== 个人信息==================-->
        <div class="userMes">

            <div class="uscLeft">
                <strong class="uname" name="uname"><a id="Tip1" >李华</a></strong>
                <span class="useMes1">
                  <ul>
                    <li>身份：<label class="ustatus" name="ustatus">用户身份</label></li>
                    <li>学历：<label class="ueducation" name="ueducation" >用户学历</label></li>
                    <li>求职状态：<label class="jobHunting">用户求职状态</label></li>
                  </ul>
               </span>
                <span class="useMes1">
                    <ul>
                        <li>电话：<label class="utel" name="perTel">11155511115</label></li>
                        <li>微信：<label class="uWeChat">28546214</label></li>
                        <li>邮箱：<label class="uemail">123456@qq.com</label></li>

                      </ul>
               </span>
            </div>

            <div class="uscRight">
                <div class="rightImg">
                    <img class="editImg" id="editImg" title="修改头像" src="${pageContext.request.contextPath}/public/static/images/男头像.png" style="border-radius: 50px;">
                </div>
                <span class="rigGender">男</span>
                <a class="btn mesBt">编辑</a>
            </div>



        </div>


        <!--===============个人信息-编辑============-->
        <div class="cenTab cenTab1" >
            <p>编辑个人信息</p>
            <table class="tab">
                <tr>
                    <th>
                        <p>姓名</p>
                        <input type="text" value="" name="personName" class="tab_username" id="tab_username">
                    </th>
                    <th>
                        <p>当前求职状态</p>
                        <select name="" id="tab_jobHunting">
                            <option >离校-随时到岗</option>
                            <option >暂不考虑</option>
                            <option >在校-月内到岗</option>
                        </select>
                    </th>
                </tr>


                <tr>
                    <th>
                        <p>性别</p>
                        <label class="tabGender">
                            <select name="personGender" id="tab_Gender">
                                <option >男</option>
                                <option >女</option>
                            </select>
                            <!-- <span><input type="radio" value="1" name="gender">男</span>
                            <span><input type="radio" value="0" name="gender">女</span> -->
                        </label>

                    </th>
                    <th>
                        <p>我的身份</p>
                        <select class="tab_status" id="tab_status">
                            <option value="在校">在校</option>
                            <option value="求职者">求职者</option>
                            <option value="已毕业">已毕业</option>
                        </select>
                    </th>
                </tr>


                <tr>
                <tr>
                    <th>
                        <p>生日</p>
                        <div class="layui-input-inline">
                            <input type="date" class="layui-input tab_ubothday" id="bothday" placeholder="年-月-日">
                        </div>
                    </th>
                    <th>
                        <p>电话</p>
                        <span>
                           <input type="tel" value="" name="" class="tab_tel" id="tab_tel">
                       </span>
                    </th>
                </tr>


                <tr>
                    <th>
                        <p>微信号（选填）</p>
                        <input type="text" value="" name="" class="tab_weChat">
                    </th>
                    <th>
                        <p>邮箱（选填）</p>
                        <input type="email" value="" name="" class="tab_email">
                    </th>
                </tr>
                <tr >
                    <th ></th>
                    <th >
                        <button class="removeBt removeBt1">取消</button>
                        <button class="finishBt finishBt1" id="finishBt1">完成</button>

                    </th>
                </tr>
            </table>
        </div>

        <!-- =====================个人优势 ============= -->
        <div class="userAdv">

            <h2 class="h2move">&nbsp;&nbsp;<a id="Tip2">个人优势</a></h2>
            <div class="advInpt advInpt1" >
                <textarea class="personAdv" id="personAdv1" cols="20" rows="3" placeholder="个人优势简述" readonly="true"></textarea>
                <span class="userAdvBt">编辑</span>
                <%--                <span class="finishBt finishBtAdv" style="display: none">完成</span>--%>
            </div>
            <!-- 点击编辑变换 -->
            <div class="advInpt advInpt2" style="display: none;height: 80px">
                <textarea class="personAdv" id="personAdv2" cols="20" rows="3" placeholder="个人优势简述"></textarea>
                <span class="finishBtAdv finishBt"style="background-color: #fff;">完成</span>
            </div>
        </div>

        <!-- 期望职位 -->
        <div class="userHope">
            <div class="hope">
                <h2>&nbsp;&nbsp;<a id="Tip3">期望职位</a></h2>
                <a href="">
                    <ul>
                        <li>期望职位：<label class="eJob">请填写期望职位</label></li>
                        <li>期望行业：<label class="eIndustry">请填写期望行业</label></li>
                        <li class="job_salary1">薪资要求：<label class="eSarlay">薪资要求A</label></li>
                        <%--                        <li class="job_salary2" style="display: none">--%>
                        <%--                            薪资要求：<label class="minsalary">最低薪资</label>-<label class="maxsalary">最高薪资</label>--%>
                        <%--                        </li>--%>
                        <li>工作地区：<label class="eCity">请填写工作地区</label></li>

                    </ul>

                </a>
                <span class="btn hopeBt">编辑</span>

            </div>

            <!-- 点击编辑变换 -->
            <!--===============求职期望-编辑============-->
            <div class="cenTab cenTab2">
                <p>编辑求职期望</p>
                <table class="tab">
                    <tr>
                        <th>
                            <p>求职类型</p>
                            <select name="" id="tab_JobType">
                                <option value="全职">全职</option>
                                <option value="兼职">兼职</option>
                                <option value="实习">实习</option>
                            </select>
                        </th>
                        <th>
                            <p>工作城市</p>
                            <select name="" id="tab_city">
                                <option value="苏州">苏州</option>
                                <option value="苏州吴中区">苏州吴中区</option>
                                <option value="苏州虎丘区">苏州虎丘区</option>
                                <option value="苏州相城区">苏州相城区</option>
                                <option value="苏州姑苏区">苏州姑苏区</option>
                                <option value="苏州吴江区">苏州吴江区</option>
                            </select>
                        </th>
                    </tr>


                    <tr>
                        <th>
                            <p>期望职位</p>
                            <input type="text" value="" name="" placeholder="如：项目经理" class="ejob">

                        </th>
                        <th>
                            <p>期望行业</p>
                            <select name="" id="eindustry">
                                <option value="行业不限">行业不限</option>
                                <option value="C语言">C语言</option>
                                <option value="python">python</option>
                                <option value="java">java</option>
                            </select>
                        </th>
                    </tr>


                    <tr>
                        <th>
                            <p>薪资要求</p>
                            <select name="" class="tab_sarlay" id="tab_sarlay">
                                <option value="面议">面议</option>
                                <option value="2000-4000">2000-4000</option>
                                <option value="4000-6000">4000-6000</option>
                                <option value="6000-8000">6000-8000</option>
                                <option value="8000-12000">8000-12000</option>
                            </select>
                        </th>

                    <tr >
                        <th ></th>
                        <th >
                            <button class="removeBt removeBt2">取消</button>
                            <button class="finishBt finishBt2">完成</button>

                        </th>
                    </tr>
                </table>
            </div>
            <!-- ---------------------------------------------------------- -->
        </div>

        <!-- 实习经历 -->
        <div class="userExp">
            <!-- ----------------------------------------- -->
            <div class="exp">
                <h2>&nbsp;&nbsp;<a id="Tip4">实习经历</a></h2>
                <a href="" >
                    <ul>
                        <li>公司名称：<label class="ucompany" >携程旅游</label></li>
                        <li class="ujobTime1">在职时间：<label class="ujobTime">2020.01-2022.06</label></li>
                        <li class="ujobTime2" style="display: none">
                            在职时间：<label class="ujobTimeStart">开始时间</label>至<label class="ujobTimeEnd">结束时间</label>
                        </li>
                        <li>所属行业：<label class="uDepartment">旅游</label></li>
                        <li>所属部门：<label class="uIndustry">不限</label></li>
                        <li>职位名称：<label class="uJobName">旅游</label></li>
                        <li>工作内容：<label class="ujobContent">开发</label></li>
                        <li>拥有技能：<label class="ujobSkills">java开发</label></li>
                    </ul>

                </a>
                <span class="btn expBt">编辑</span>
            </div>

            <!-- 点击编辑变换 -->
            <div class="cenTab cenTab3">
                <p>编辑实习经历</p>
                <table class="tab">
                    <tr>
                        <th>
                            <p>公司名称</p>
                            <input type="text" class="tab_company" placeholder="请输入实习公司名称" readonly="true">
                        </th>
                        <th>
                            <p>所属行业</p>
                            <input name="" id="tab_Department" readonly="true" style="width: 345px;height: 40px;color: #5e5e5e;font-size: 15px">
                                <%--                                <option value="旅游">旅游</option>--%>
                                <%--                                <option value="金融">金融</option>--%>
                                <%--                                <option value="互联网">互联网</option>--%>
                                <%--                                <option value="电子商务">电商</option>--%>
                                <%--                                <option value="生活服务">计算机</option>--%>
                            </input>
                        </th>
                    </tr>


                    <tr>
                        <th>
                            <p>所属部门（选填）</p>
                            <input type="text" class="tab_Industry" placeholder="请输入所属部门">

                        </th>
                        <th>
                            <p>职位名称</p>
                            <select name="" id="tab_jobName">
                                <option value="后端开发">后端开发</option>
                                <option value="前端开发">前端开发</option>
                                <option value="市场助理">市场助理</option>
                                <option value="开发">开发</option>
                                <option value="市场助理">市场助理</option>
                                <option value="运营主管">运营主管</option>
                                <option value="经理">经理</option>
                                <option value="旅游">旅游</option>
                            </select>
                        </th>
                    </tr>


                    <tr >
                        <th>

                            <div class="selTime">
                                <p>在职时间</p>
                                <div class="layui-inline" id="test6">
                                    <div class="layui-input-inline" id="tab_jobTime1">
                                        <input type="date" autocomplete="off" id="test-startDate-61" class="layui-input" placeholder="开始日期">
                                    </div>
                                    <div class="layui-input-inline" id="tab_jobTime2">
                                        <input type="date" autocomplete="off" id="test-endDate-62" class="layui-input" placeholder="结束日期">
                                    </div>
                                </div>
                            </div>

                        </th>
                    </tr>

                    <tr>
                        <th>
                            <p>工作内容</p>
                            <textarea name="" class="tab_jobContent" cols="30" rows="2" placeholder="工作内容概述" style="font-size:13px ;width: 720px;height: 40px;margin-left: 15px;"></textarea>
                        </th>

                    </tr>

                    <tr >
                        <th>
                            <p>拥有技能</p>
                            <input type="text" class="tab_jobSkills"id="tab_jobSkills" placeholder="请输入技能" style="width: 700px;">
                        </th>
                    </tr>
                    <tr >
                        <th ></th>
                        <th >
                            <button class="removeBt removeBt3">取消</button>
                            <button class="finishBt finishBt3" id="finishInternshipExperience">完成</button>

                        </th>
                    </tr>
                </table>
            </div>
            <!-- ---------------------------------------- -->
        </div>

        <!-- 项目经历 -->
        <div class="userTipExp">
            <!-- ------------------- -->
            <div class="tipExp">
                <h2>&nbsp;&nbsp;<a id="Tip5">项目经历</a></h2>
                <a href="" >
                    <ul>
                        <li>项目名称：<label class="uprojectName">招聘网</label></li>
                        <li class="uprojectTime1">项目时间：<label class="uprojectTime">2021.5-2022.6</label></li>
                        <li class="uprojectTime2" style="display: none">
                            项目时间：<label class="uprojectTimeStart">项目开始时间</label>至<label class="uprojectTimeEnd">项目结束时间</label>
                        </li>
                        <li>项目角色：<label class="uprojectRole">组长</label></li>
                        <li>内容：<label class="uprojectcontent">项目的内容</label></li>
                        <li>项目业绩：<label class="uprojectAchievement">项目的业绩</label></li>
                        <li>项目链接：<label class="uprojectLink">www.zhipin.com</label></li>
                    </ul>
                </a>
                <span class="btn tipExpBt">编辑</span>

            </div>

            <!-- 点击编辑变换 -->
            <div class="cenTab cenTab4">
                <p>编辑项目经历</p>
                <table class="tab">
                    <tr>
                        <th>
                            <p>项目名称</p>
                            <input type="text" class="tab_projectName" placeholder="请输入项目名称">
                        </th>
                        <th>
                            <p>项目角色</p>
                            <input type="text" class="tab_projectRole" placeholder="请输入项目角色">
                        </th>
                    </tr>


                    <tr>
                        <th >
                            <p>项目链接（选填）</p>
                            <input type="text" class="tab_projectLink" placeholder="请输入项目链接" style="width:700px;">
                        </th>

                    </tr>
<%--==================================--%>
<%--                    <div class="form-item3">--%>
<%--                        <div class="item-label">生日</div>--%>
<%--                        <input type="date" class="personBirthday" value="">--%>
<%--                    </div>--%>
<%--==================================--%>

                    <tr >
                        <th>

                            <div class="selTime">
                                <p>项目创建时间</p>
                                <div class="layui-inline" id="test7" class="tab_projectTime">
                                    <div class="layui-input-inline">
                                        <input type="date" id="test-startDate-71" class="layui-input" placeholder="开始日期：年-月-日" style="width: 330px;height: 40px">
                                    </div>
                                    <div class="layui-input-inline">
                                        <input type="date"  id="test-endDate-72" class="layui-input" placeholder="结束日期：年-月-日"style="width: 330px;height: 40px">
                                    </div>
                                </div>
                            </div>

                        </th>
                    </tr>

                    <tr>
                        <th>
                            <p>项目描述</p>
                            <textarea class="tab_projectcontent" cols="30" rows="2" placeholder="工作内容概述" style="font-size:13px ;width: 700px;height: 40px;margin-left: 15px;"></textarea>
                        </th>
                    </tr>
                    <tr>
                        <th>
                            <p>项目业绩（选填）</p>
                            <input type="text" class="tab_projectAchievement" placeholder="请输入项目业绩" style="width: 680px;">
                        </th>
                    </tr>

                    <tr >
                        <th ></th>
                        <th >
                            <button class="removeBt removeBt4">取消</button>
                            <button class="finishBt finishBt4">完成</button>

                        </th>
                    </tr>
                </table>
            </div>
            <!-- ---------------------------------- -->
        </div>

        <!-- 教育经历 -->
        <div class="userstu">
            <div class="stu">
                <h2>&nbsp;&nbsp;<a id="Tip6">教育经历</a></h2>
                <a href="" >
                    <ul>
                        <li>学校：<label class="sshoolName">学校名称</label></li>
                        <li>就读时间：<label class="sstudyTime">2019.9-2023.6</label></li>
                        <li>就读专业：<label class="smajor">软件工程</label></li>
                        <li>学历：<label class="seducation">本科</label></li>
                        <li>校园经历：<label class="sshoolExperience">获奖</label></li>
                    </ul>
                </a>
                <span class="btn stuBt">编辑</span>

            </div>

            <!-- 点击编辑变换 -->
            <div class="cenTab cenTab5">
                <p>编辑教育经历</p>
                <table class="tab">
                    <tr>
                        <th>
                            <p>学校名称</p>
                            <input type="text" class="tab_shoolName" placeholder="请输入学校名称">
                        </th>
                        <th>
                            <p>学制类型</p>
                            <select class="tab_shoolType">
                                <option value="3">3</option>
                                <option value="4">4</option>
                                <option value="5">5</option>
                            </select>
                        </th>
                    </tr>


                    <tr>
                        <th >
                            <p>学历</p>
                            <select class="tab_education">
                                <option value="初中及以下">初中及以下</option>
                                <option value="中专/中技">中专/中技</option>
                                <option value="高中">高中</option>
                                <option value="大专">大专</option>
                                <option value="非全日制本科">非全日制本科</option>
                                <option value="全日制本科">全日制本科</option>
                                <option value="硕士">硕士</option>
                                <option value="博士">博士</option>
                            </select>
                        </th>
                        <th>
                            <p>专业</p>
                            <input type="text" class="tab_major" placeholder="请输入就读专业">
                        </th>

                    </tr>


                    <tr >
                        <th>

                            <div class="selTime tab_studyTime">
                                <p>时间段</p>
                                <div class="layui-inline" id="test8">
                                    <input type="text"  id="test-startDate-81" class="startDate" placeholder="开始日期-毕业时间">

                                </div>
                            </div>

                        </th>
                    </tr>

                    <tr>
                        <th>
                            <p>在校经历</p>
                            <textarea class="tab_shoolExperience"  cols="30" rows="3" placeholder="在校经历概述" style="font-size:13px ;width: 720px;height: 40px;margin-left: 15px;"></textarea>
                        </th>
                    </tr>

                    <tr >
                        <th ></th>
                        <th >
                            <button class="removeBt removeBt5">取消</button>
                            <button class="finishBt finishBt5">完成</button>

                        </th>
                    </tr>
                </table>
            </div>
            <!-- -------------------------------------------------- -->
        </div>


        <!-- 资格证书 -->
        <div class="userCred">
            <h2 class="h2move">&nbsp;&nbsp;<a id="Tip7">资格证书</a></h2>
            <div class="credInpt" >
                <textarea class="capacity"  cols="20" rows="3" placeholder="获得的资格证书" >A</textarea>
                <span class="userAdvBt">编辑</span>
            </div>
            <!-- 点击编辑变换 -->
            <div class="advInpt advInpt2" style="display: none;height: 80px" id="userCredEdi">
                <textarea class="personAdv" id="userCred2" cols="20" rows="3" placeholder="如：英语四级"></textarea>
                <span class="finishBtAdv finishBt"style="background-color: #fff;">完成</span>
            </div>
        </div>



    </div>
    <!--=========简历right============-->
    <div class="cvRight">
        <!-- 简历管理 -->
        <div class="rightCvm">
            <h2>附件管理</h2>
            <div class="layui-btn-file">
                <button type="button" class="layui-btn upCv" id="test3" style="background-color:#75ddd2;margin-left: 20px;margin-top:10px">上传附件简历</button>
                <button type="button" class="layui-btn upCv" id="look" style="background-color:#75ddd2;margin-left: 20px;margin-top:10px;display: none">查看上传简历</button>
                <button type="button" class="layui-btn makeCv" style="background-color:#75ddd2;margin-top:10px;margin-left: 20px"> 制作附件简历</button>
            </div>
        </div>
        <!-- 图片 -->
        <div class="rightImg">
            <img src="${pageContext.request.contextPath}/public/static/images/suzhou.png" alt="">
        </div>
        <!-- 制作技巧 -->
        <div class="rightCvMb">
            <h3>不知道简历怎么写？看这里↓↓↓</h3>
            <a href="https://www.yjbys.com/file/zhizuojianlidejiqiao.html" >制作简历的技巧...</a>
            <a href="${pageContext.request.contextPath}/public/resume/resume-template-home.jsp">去看看简历模板...</a>
            <a href="https://wenku.baidu.com/view/f30292a901d276a20029bd64783e0912a2167c08.html">怎样制作简历...</a>
        </div>


    </div>

</div>
<!-- =========================footer=========================== -->
<div id ="footer">
    <div class="footer_i">
        <div class="footer_i_left">
            <p>
                <span>Copyright  2022 LinkedChat</span>
                <span>京ICP备14013441号-5</span>
                <span>京ICP证150923号</span>
                <span>京网文[2020]0399-066 号</span>
                <span>
                   <img src="https://static.zhipin.com/v2/web/geek/images/icon-badge-1.png">电子营业执照
                </span>
                <span>
                    <img src="https://static.zhipin.com/v2/web/geek/images/icon-beian.png"> 京公网安备11010502032801
                </span>
                <span>朝阳网警</span>
                <span>人力资源服务许可证</span>
                <span>网上有害信息举报专区</span>
                <span>朝阳区人社局监督电话</span>
            </p>
        </div>
        <div class="footer_i_right">
            <a href="#" class="icon_weibo"><span></span></a>
            <a href="#" class="icon-weixin"><span></span></a>
            <a href="#" class="icon-app"><span></span></a>
            <a href="#" class="icon-client-app">
                <img src="https://img.bosszhipin.com/static/file/2021/dppx09luaq1637052502211.png" class="icon_im">
                <span></span></a>
        </div>
    </div>
</div>

<script>
    //加载layer模块
    layui.use('layer' ,function(){
        //获取layer对象
        var layer = layui.layer;
        //绑定按钮事件
        var btnEle = document.getElementById("jjjhh");
        btnEle.onclick=function(){
            //弹出询问对话框
            layer.open({
                type: 2,
                //加上边框
                area: ['1100px', '600px'], //宽高
                title:'<h2>你的简历在BOSS侧展示如下 </h2>',
                content: 'preCVManage.jsp'
            });
        }
    });

</script>

<!-- =======script=== -->
<script src="${pageContext.request.contextPath}/public/static/layui/layui.js"></script>
<!-- 注意：项目正式环境请勿引用该地址 -->
<script src="//unpkg.com/layui@2.7.6/dist/layui.js"></script>
<script>
    // layui.use('laydate', function(){
    //     var laydate = layui.laydate;
    //     //常规用法
    //     laydate.render({
    //         elem: '#test1'
    //     });
    //
    //     laydate.render({
    //         elem: '#test6'
    //         //设置开始日期、日期日期的 input 选择器
    //         //数组格式为 2.6.6 开始新增，之前版本直接配置 true 或任意分割字符即可
    //         ,range: ['#test-startDate-1', '#test-endDate-1']
    //     });
    //
    // });
    //上传PDF简历
    layui.use(['upload', 'element', 'layer'], function(){
        var $ = layui.jquery
            ,upload = layui.upload
            ,element = layui.element
            ,layer = layui.layer;

        //指定允许上传的文件类型
        upload.render({
            elem: '#test3'
            ,url: '${pageContext.request.contextPath}/uploadResume/upload' //此处配置自己的上传接口【conller层】即可
            ,accept: 'file' //普通文件
            ,done: function(res){
                if (res.fileUrl != null){
                    // layer.file('上传成功');
                    alert("简历文件上传成功！");
                    //获得文件的路径
                    let fileUrl = res.fileUrl;
                    console.log("上传的文件地址："+fileUrl);
                    $("#look").css("display","block");
                    //    查看上传简历
                    //加载layer模块
                    layui.use('layer' ,function(){
                        //获取layer对象
                        var layer = layui.layer;
                        //绑定按钮事件
                        var btnEle = document.getElementById("look");
                        btnEle.onclick=function(){
                            //弹出询问对话框
                            layer.open({
                                type: 2,
                                //加上边框
                                area: ['1100px', '600px'], //宽高
                                title:'<h2>查看上传简历 </h2>',
                                content: fileUrl
                            });
                        }
                    });

                }

            }
        });
        //    上传头像图片
        upload.render({
            elem: '#editImg'
            ,url: '${pageContext.request.contextPath}/uploadResume/uploadImg' //此处配置自己的上传接口【conller层】即可
            // ,accept: 'file' //普通文件
            ,done: function(res){
                if (res.imgUrl != null){

                    let imgUrl = res.imgUrl;
                    console.log("上传的文件地址："+imgUrl);
                    //切换头像
                    document.querySelector(".editImg").src = imgUrl;

                }

            }
        });

    });


</script>
<script src="${pageContext.request.contextPath}/public/static/js/cvManagr.js"></script>

</body>
</html>